package com.study.design.factory.abs;

import com.study.design.factory.abs.bean.User;

import lombok.extern.slf4j.Slf4j;


/**
 * @version V1.0
 * @title: Main
 * @description: ${DESCRIPTION}
 * @author: wanghuilong
 * @date: 2019-05-30 18:10
 * @copyright: http://fingo.com.my/
 */
@Slf4j
public class Main {
    public static void main(String[] args) {
        log.info("addLogStart main InputParam: args : {} ", args);

        User user = new User();
        IFactory factory = new SqlServerFactory();
        IUser iUser = factory.CreateUser();
        iUser.Inser(user);
        iUser.GetUser(1);
    }
}
